package com.weigecoder.warehouse;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;

//开启redis版注解缓存
@EnableCaching
@EnableScheduling
@EnableTransactionManagement
@MapperScan(basePackages = {"com.weigecoder.warehouse.mapper"})
@SpringBootApplication
public class WarehouseManagerApplication {
    public static void main(String[] args) {
        SpringApplication.run(WarehouseManagerApplication.class, args);
    }
}
